//
//  PropertyItem.h
//  HengHuaSupervision
//
//  Created by XD-XY on 3/27/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

//资产model
#import <Foundation/Foundation.h>

@interface PropertyItem : NSObject

@property (nonatomic,strong)NSString * propertyid; // 设备id
@property (nonatomic,strong)NSString * name; // 设备名称
@property (nonatomic,strong)NSString * code; // 设备编码
@property (nonatomic,strong)NSString * model; // 设备型号
@property (nonatomic,strong)NSString * type; //  设备类别
@property (nonatomic,strong)NSString * factory_name; //  厂家名称
@property (nonatomic,strong)NSString * factory_code; //  厂家编号
@property (nonatomic,strong)NSString * factory_addr; //  厂家地址
@property (nonatomic,strong)NSString * factory_linkman; //  厂家负责人
@property (nonatomic,strong)NSString * factory_phone; //  厂家联系电话
@property (nonatomic,strong)NSString * supervision_unitname; //  监造单位名称
@property (nonatomic,strong)NSString * supervision_unitcode; //  监造单位编码
@property (nonatomic,strong)NSString * supervision_mode; //  监造方式
@property (nonatomic,strong)NSString * supervision_linkman; //  监造人员
@property (nonatomic,strong)NSString * version; //
@property (nonatomic,strong)NSString * status; //  阶段
@property (nonatomic,strong)NSString * project_id; //工程

@property (nonatomic,strong)NSString * tagCount; //标签数量（这个是给首页提供的，省得再重新建一个model,首页也用这个model就OK了）
@property (nonatomic,strong)NSString * last_create_time; //最后贴标签的时间（这个是给首页提供的，同上..）

@property (nonatomic,assign)BOOL havePhoto;   //是否有图片（同上..）

-(instancetype) initWithDictionary:(NSDictionary*) dic;

@end
